headerbar: simplify calculation in size allocation code
authorRay Strode <rstrode@redhat.com>
Thu, 23 Jun 2016 20:31:24 +0000 (16:31 -0400)
committerRay Strode <rstrode@redhat.com>
Sat, 25 Jun 2016 00:19:32 +0000 (20:19 -0400)
commite0bebba4701395b8db6027bd8626e879a4cde90d
tree2e9f99bff9f451c32539bf05a0cc80005ab74ba2
parent8430be75ed1c4f747170138ac29aaef485aa78bc
headerbar: simplify calculation in size allocation code

There's some extraneous MIN() calls that have predetermined answers.

This commit drops them and then simplifies a few redudant checks into
one MIN call.

https://bugzilla.gnome.org/show_bug.cgi?id=724332
gtk/gtkheaderbar.c